export default {
    tooltip : {
        trigger: 'axis',
        axisPointer : {            // 坐标轴指示器，坐标轴触发有效
            type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
        }
    },
    grid: {
        left: '0%',
        right: '0%',
        bottom: '0%',
        top: '10%',
        containLabel: true
    },
    xAxis : [
        {
            type : 'category',
            data : ['1月','2月','3月','4月','5月','6月'],
            splitLine: {
                show: false
            },
            axisLine: {
                lineStyle: {
                    width: 2,
                    color: '#e7e9eb'
                }
            },
            axisLabel: {
                color: '#9da1ab',
                margin: 10,
                fontSize: 16
            },
            axisTick: {
                show: false
            }
        }
    ],
    yAxis : [
        {
            type : 'value',
            splitLine: {
                show: false
            },
            axisLine: {
                lineStyle: {
                    width: 2,
                    color: '#e7e9eb',
                }
            },
            axisLabel: {
                color: '#9da1ab',
                margin: 12,
                fontSize: 16,
            },
            axisTick: {
                inside: true,
                length: 20,
                lineStyle: {
                    width: 2,
                    color: '#e7e9eb'
                }
            }
        }
    ],
    series : [
        {
            name:'完成指标',
            type: 'bar',
            barWidth: 15,
            zlevel: 2,
            itemStyle: {
               barBorderRadius: [20,20,0,0],  
               color: '#5adcca'
            },
            data:[20, 32, 11, 34, 90, 30, 21]
        },
        {
            name:'每月指标',
            type: 'bar',
            barWidth: 15,
            barGap: '-100%',
            stack: '广告',
            itemStyle: {
                barBorderRadius: [20,20,0,0],  
               color: '#fec55e'
            },
            data:[22, 82, 91, 34, 29, 33, 31]
        }
    
    ]
}
